
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.Transfer;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Transfer entities.
 * 
 */
public interface TransferDAO extends JpaDao<Transfer> {

	/**
	 * JPQL Query - findTransferByTime
	 *
	 */
	public Set<Transfer> findTransferByTime(java.util.Calendar time) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByTime
	 *
	 */
	public Set<Transfer> findTransferByTime(Calendar time, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByMemo
	 *
	 */
	public Set<Transfer> findTransferByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByMemo
	 *
	 */
	public Set<Transfer> findTransferByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByMemoContaining
	 *
	 */
	public Set<Transfer> findTransferByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByMemoContaining
	 *
	 */
	public Set<Transfer> findTransferByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByPrimaryKey
	 *
	 */
	public Transfer findTransferByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTransferByPrimaryKey
	 *
	 */
	public Transfer findTransferByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTransferById
	 *
	 */
	public Transfer findTransferById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTransferById
	 *
	 */
	public Transfer findTransferById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTransfers
	 *
	 */
	public Set<Transfer> findAllTransfers() throws DataAccessException;

	/**
	 * JPQL Query - findAllTransfers
	 *
	 */
	public Set<Transfer> findAllTransfers(int startResult, int maxRows) throws DataAccessException;

}